//
//  NSMutableArray+Convert.m
//  08-HomeWork
//
//  Created by dllo on 16/7/13.
//  Copyright © 2016年 高雅馨. All rights reserved.
//

#import "NSMutableArray+Convert.h"

@implementation NSMutableArray (Convert)

// 类方法
+ (void)convert:(NSMutableArray *)mulArray
{
    for (int i = 0,j = (int)[mulArray count]-1; i<j; i ++,j --) {
        [mulArray exchangeObjectAtIndex:i withObjectAtIndex:j];
    }
    
}
// 对象方法
- (void)convert:(NSMutableArray *)mulArray
{
    for (int i = 0,j = (int)[mulArray count]-1; i<j; i ++,j --) {
        [mulArray exchangeObjectAtIndex:i withObjectAtIndex:j];
    }
    
}
@end
